<?php

// APP首页内容
$json = array('status' => 'ok', 'msg' => 'ok', 'data' => []);
$sys = fn_configura($this->website, 'sys');

$carousel = $this->website['class']['db']
	->table('link')
	->field('url', 'image')
	->where('tid=20')
	->order('id asc')
	->select();
$json['data']['carousel'] = $carousel;

$this->json_encode_encrypt($json);